package com.xgimi.open.skill.datamanager.biz.service;

import com.xgimi.open.skill.datamanager.service.request.BatchSpeechRuleReqDTO;
import com.xgimi.open.skill.datamanager.service.request.SpeechRuleReqDTO;
import com.xgimi.open.skill.datamanager.service.response.BatchSpeechRuleRespDTO;
import com.xgimi.open.skill.datamanager.service.response.SpeechRuleRespDTO;
import com.xgimi.open.skill.datamanager.service.response.page.PageResult;

import java.util.List;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/2/8 14:32
 */
public interface SpeechRuleBizService {
    Boolean addSpeechRule(SpeechRuleReqDTO speechRuleReqDTO);

    List<SpeechRuleRespDTO> listByIntentId(Long intentId);

    Boolean deleteSpeechRule(SpeechRuleReqDTO speechRuleReqDTO);

    Boolean updateSpeechRule(SpeechRuleReqDTO speechRuleReqDTO);

    PageResult<SpeechRuleRespDTO> pageQuery(SpeechRuleReqDTO speechRuleReqDTO);

    BatchSpeechRuleRespDTO batchCreate(BatchSpeechRuleReqDTO batchSpeechRuleReqDTO);

    List<SpeechRuleRespDTO> listByIntentIds(List<Long> intentIds);
}
